package structural.composite;

/**
 * @Description: 字典抽象
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public abstract class AbstractDirectory {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void add(AbstractDirectory directory) {
        throw new UnsupportedOperationException("当前方法未实现");
    }

    public String getValue() {
        throw new UnsupportedOperationException("当前方法未实现");
    }
}
